home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / layout / nsIBrowserBoxObject.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  2KB  |  94 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIBrowserBoxObject.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIBrowserBoxObject_h__
  6. #define __gen_nsIBrowserBoxObject_h__
  7.  
  8.  
  9. #ifndef __gen_nsIBoxObject_h__
  10. #include "nsIBoxObject.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDocShell; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIBrowserBoxObject */
  21. #define NS_IBROWSERBOXOBJECT_IID_STR "f2504c26-7cf5-426a-86a7-e50998ac57c1"
  22.  
  23. #define NS_IBROWSERBOXOBJECT_IID \
  24.   {0xf2504c26, 0x7cf5, 0x426a, \
  25.     { 0x86, 0xa7, 0xe5, 0x09, 0x98, 0xac, 0x57, 0xc1 }}
  26.  
  27. class NS_NO_VTABLE nsIBrowserBoxObject : public nsISupports {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IBROWSERBOXOBJECT_IID)
  31.  
  32.   /* readonly attribute nsIDocShell docShell; */
  33.   NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell) = 0;
  34.  
  35. };
  36.  
  37. /* Use this macro when declaring classes that implement this interface. */
  38. #define NS_DECL_NSIBROWSERBOXOBJECT \
  39.   NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell); 
  40.  
  41. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  42. #define NS_FORWARD_NSIBROWSERBOXOBJECT(_to) \
  43.   NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell) { return _to GetDocShell(aDocShell); } 
  44.  
  45. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  46. #define NS_FORWARD_SAFE_NSIBROWSERBOXOBJECT(_to) \
  47.   NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocShell(aDocShell); } 
  48.  
  49. #if 0
  50. /* Use the code below as a template for the implementation class for this interface. */
  51.  
  52. /* Header file */
  53. class nsBrowserBoxObject : public nsIBrowserBoxObject
  54. {
  55. public:
  56.   NS_DECL_ISUPPORTS
  57.   NS_DECL_NSIBROWSERBOXOBJECT
  58.  
  59.   nsBrowserBoxObject();
  60.  
  61. private:
  62.   ~nsBrowserBoxObject();
  63.  
  64. protected:
  65.   /* additional members */
  66. };
  67.  
  68. /* Implementation file */
  69. NS_IMPL_ISUPPORTS1(nsBrowserBoxObject, nsIBrowserBoxObject)
  70.  
  71. nsBrowserBoxObject::nsBrowserBoxObject()
  72. {
  73.   /* member initializers and constructor code */
  74. }
  75.  
  76. nsBrowserBoxObject::~nsBrowserBoxObject()
  77. {
  78.   /* destructor code */
  79. }
  80.  
  81. /* readonly attribute nsIDocShell docShell; */
  82. NS_IMETHODIMP nsBrowserBoxObject::GetDocShell(nsIDocShell * *aDocShell)
  83. {
  84.     return NS_ERROR_NOT_IMPLEMENTED;
  85. }
  86.  
  87. /* End of implementation class template. */
  88. #endif
  89.  
  90. nsresult
  91. NS_NewBrowserBoxObject(nsIBoxObject** aResult);
  92.  
  93. #endif /* __gen_nsIBrowserBoxObject_h__ */
  94.